package demo3;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2024-06-18
 * Time: 16:01
 */
public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.open();

        KeyBoard keyBoard = new KeyBoard();

        computer.useUsbDevice(keyBoard);

        computer.close();

    }
}
